package com.cwd.arm.domain.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * Created by yan on 21-12-26.
 */
@Repository
@Slf4j
public class AmountAppService {

    // TODO: 21-12-26

    /**
     * 计算因合同金额变化而引发的计算
     * @param projectId
     * @param contractAmount
     */
    @Async("armAsync")
    public void calByContractAmount(Long projectId,BigDecimal contractAmount){
        log.debug("calByContractAmount----------->");
    }
}
